package com.spark.incoicings.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spark.incoicings.vo.PurchaseOrderVO;
import com.spark.incoicings.vo.SalesOrderVO;
import com.spark.invoicings.entity.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 订单采购报表统计
     * @return
     */
    public List<PurchaseOrderVO>selectCount();
    /**
     * 统计采购应付总额
     */
    Integer selectPendingAmount();
    /**
     *采购在途情况
     */
    PurchaseOrderVO selectSourcing();
}
